package com.sync.syncmasterdata.customer.pojo.oa;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import javax.xml.bind.annotation.*;

@Data
@Component
@NoArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name="data")
public class CustomerOaData {

    @XmlAttribute(name="id")
    private String id="";

    @XmlElement(name="maintable")
    private CustomerOaMaintable maintable;

    @XmlElement(name="detail")
    private CustomerOaDataDetail detail=new CustomerOaDataDetail();
}

@XmlRootElement(name="detail")
class CustomerOaDataDetail {

}
